package core;

public class Field {
	public static final String END = "\1";
	
	private String value;
	private String tag="";
	
	public Field(String tag,String value) {
		this(value);
		this.tag = tag;
	}
	public Field(String value)
	{	this.tag = "";
		this.value = value;
	}
	
	public String getValue() { return this.value; }
	public void setValue(String value) {
		this.value = value;
	}
	
	public String getTag() { return this.tag; }
	
	public String toString()
	{
		return this.value.toString()+END;
	}
}
